﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Aribaccio.Datum
{
    /// <summary>
    /// 数据库连接操作上下文-工厂接口
    /// </summary>
    public interface ICoreDBContextFactory
    {
        /// <summary>
        /// 创建数据库连接操作对象
        /// </summary>
        /// <param name="argSlaveType">主从数据库类型</param>
        /// <returns>数据库连接操作对象</returns>
        public ICoreDBContext CreateCoreDbContext();
    }
}
